/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * NeedReceiveRefund.java
 */
package com.emm.yixun.common.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * [文件名称]<br>
 * NeedReceiveRefund.java<br>
 * <br>
 * [文件描述]<br>
 * 待收/退款表 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2016-07-04 14:18:21 创建<br>
 * @version 1.00
 */
public class NeedReceiveRefundInfo extends NeedReceiveRefund{
	
	/**
	 * 经办人姓名
	 */
	private String statement_name;
	
	/**
	 * 经办日期
	 */
	private Date statement_date;

	/**
	 * 客户姓名
	 */
	private String customer_name;
	
	/**
	 * 客户电话
	 */
	private String customerPhone;
	
	/**
	 * 客户性别
	 */
	private String customerSex;
	
	/**
	 * 房间组合名称
	 */
	private String combined_name;
	
	/**
	 * 认筹，认购，签约单价
	 */
	private BigDecimal price;
	
	/**
	 * 签约总价
	 */
	private BigDecimal totalPrice;
	
	/**
	 * 认筹，认购，签约面积
	 */
	private String calculatArea;
	
	/**
	 * 业务编号
	 */
	private String relationCode;
	
	/**
	 * 业务类型
	 */
	private String relation;
	
	/**
	 * 房款类型
	 */
	private String relationType;
	
	/**
	 * 已收金额
	 */
	private BigDecimal receivedAmount;
	/**
	 * 未收金额
	 */
	private BigDecimal uncollectedAmount;
	
	/**
	 * 签约日期
	 */
	private Date relationDate;
	
	/**
	 * 置业顾问
	 */
	private String agent_name;
	
	/**
	 * 实收/可退金额
	 */
	private BigDecimal realAmount;
	
	/**
	 * 签约ID
	 */
	private Long signId;

	/**
	 * 签约ID
	 */
	private String signAmount;

	/**
	 * 剩余到期天数
	 */
	private int receivablesDay;

	private Long projectId;

	/**
	 * 房间ID
	 */
	private Long roomId;
	
	/**
	 * 经纪人
	 */
	private String userName;

	/**
	 * 逾期天数
	 */
	private String overdueDay;

	private String totalReceiveablesAmount;

	public String getCustomer_name() {
		return customer_name;
	}

	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}

	public String getCombined_name() {
		return combined_name;
	}

	public void setCombined_name(String combined_name) {
		this.combined_name = combined_name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getCalculatArea() {
		return calculatArea;
	}

	public void setCalculatArea(String calculatArea) {
		this.calculatArea = calculatArea;
	}

	public String getRelationCode() {
		return relationCode;
	}

	public void setRelationCode(String relationCode) {
		this.relationCode = relationCode;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public BigDecimal getReceivedAmount() {
		return receivedAmount;
	}

	public void setReceivedAmount(BigDecimal receivedAmount) {
		this.receivedAmount = receivedAmount;
	}

	public BigDecimal getUncollectedAmount() {
		return uncollectedAmount;
	}

	public void setUncollectedAmount(BigDecimal uncollectedAmount) {
		this.uncollectedAmount = uncollectedAmount;
	}

	public String getStatement_name() {
		return statement_name;
	}

	public void setStatement_name(String statement_name) {
		this.statement_name = statement_name;
	}

	public Date getStatement_date() {
		return statement_date;
	}

	public void setStatement_date(Date statement_date) {
		this.statement_date = statement_date;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public Date getRelationDate() {
		return relationDate;
	}

	public void setRelationDate(Date relationDate) {
		this.relationDate = relationDate;
	}

	public String getAgent_name() {
		return agent_name;
	}

	public void setAgent_name(String agent_name) {
		this.agent_name = agent_name;
	}

	public BigDecimal getRealAmount() {
		return realAmount;
	}

	public void setRealAmount(BigDecimal realAmount) {
		this.realAmount = realAmount;
	}
	
	public Long getSignId() {
		return signId;
	}

	public void setSignId(Long signId) {
		this.signId = signId;
	}

	public String getCustomerPhone() {
		return customerPhone;
	}

	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}

	public String getCustomerSex() {
		return customerSex;
	}

	public void setCustomerSex(String customerSex) {
		this.customerSex = customerSex;
	}
	
	public int getReceivablesDay() {
		return receivablesDay;
	}

	public void setReceivablesDay(int receivablesDay) {
		this.receivablesDay = receivablesDay;
	}
	
	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * 设置没有权限返回值
	 * @param auth 原值返回
	 * @return
	 */
	public boolean setNoAuth(boolean auth){
		if(!auth){
			this.setRes(100);
			this.setResMsg("当前角色没有权限");
		}
		return auth;
	}
	
	/**
	 * 返回码值,默认值Const.FAI
	 */
	private int res = 0;
	/**
	 * 返回码值解析
	 */
	private String resMsg;

	public int getRes() {
		return res;
	}

	public void setRes(int res) {
		this.res = res;
	}

	public String getResMsg() {
		return resMsg;
	}

	public void setResMsg(String resMsg) {
		this.resMsg = resMsg;
	}

	public Long getProjectId() {
		return projectId;
	}

	public void setProjectId(Long projectId) {
		this.projectId = projectId;
	}

	public String getOverdueDay() {
		return overdueDay;
	}

	public void setOverdueDay(String overdueDay) {
		this.overdueDay = overdueDay;
	}

	public String getTotalReceiveablesAmount() {
		return totalReceiveablesAmount;
	}

	public void setTotalReceiveablesAmount(String totalReceiveablesAmount) {
		this.totalReceiveablesAmount = totalReceiveablesAmount;
	}

	public String getSignAmount() {
		return signAmount;
	}

	public void setSignAmount(String signAmount) {
		this.signAmount = signAmount;
	}
}
